package top.infopub.job.bpa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.bpa.dao.SubpackCotDao;
import top.infopub.model.bpa.SubpackCot;
import top.infopub.job.bpa.service.SubpackCotService;

@Service
public class SubpackCotServiceImpl extends GenericServiceImpl<SubpackCot, String> implements
		SubpackCotService {

	@Autowired
	private SubpackCotDao subpackCotDao;
	
	@Override
	public GenericDao<SubpackCot, String> getDao() {
		return subpackCotDao;
	}
	
	@Override
    public int count(String proCode) {
        return subpackCotDao.count(proCode);
    }

}